home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
xfig.z
/
xfig
Wrap
Text File
|
1998-10-30
|
40KB
|
859 lines
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
NNNNAAAAMMMMEEEE
xfig - Facility for Interactive Generation of figures under
X11
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
xxxxffffiiiigggg [----rrrriiii[[[[gggghhhhtttt]]]]] [----lllleeee[[[[fffftttt]]]]] [----LLLL[[[[aaaannnnddddssssccccaaaappppeeee]]]]] [----PPPP[[[[oooorrrrttttrrrraaaaiiiitttt]]]]] [----
ppppwwww[[[[iiiiddddtttthhhh]]]] _u_n_i_t_s] [----pppphhhh[[[[eeeeiiiigggghhhhtttt]]]] _u_n_i_t_s] [----nnnnooootttt[[[[rrrraaaacccckkkk]]]]] [----ttttrrrr[[[[aaaacccckkkk]]]]]
[----iiiinnnncccc[[[[hhhheeeessss]]]]] [----mmmmeeee[[[[ttttrrrriiiicccc]]]]] [----iiiinnnnvvvv[[[[eeeerrrrsssseeee]]]]] [----ddddeeee[[[[bbbbuuuugggg]]]]] [_f_i_l_e] [----
nnnnoooorrrrmmmmaaaallll[[[[FFFFoooonnnntttt]]]] _f_o_n_t] [----bbbboooolllldddd[[[[FFFFoooonnnntttt]]]] _f_o_n_t]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_X_f_i_g is a menu-driven tool that allows the user to draw and
manipulate objects interactively in an X window. IIIItttt rrrruuuunnnnssss
uuuunnnnddddeeeerrrr XXXX vvvveeeerrrrssssiiiioooonnnn 11111111 and requires a three-button mouse. _F_i_l_e
specifies the name of a file to be edited. The description
of objects in the file will be read at the start of _x_f_i_g.
The output from _x_f_i_g can be printed in several ways:
PPPPoooossssttttssssccccrrrriiiipppptttt ---- f2ps (_x_f_i_g to _p_o_s_t_s_c_r_i_p_t translator) is used to
produce _p_o_s_t_s_c_r_i_p_t from an _x_f_i_g file. This can be sent
directly to a postscript printer or a file.
TTTTrrrrooooffffffff ---- f2p (_x_f_i_g to _p_i_c(1) translator, also known by its
previous name _f_2_f_p(1L)) is used to translate _x_f_i_g files into
_p_i_c(1) language. The resulting output may then be processed
in the same manner as any other _p_i_c file. Note that area
fill is not supported by _f_2_p.
NNNNooootttteeee:::: The _f_2_p and _f_2_p_s translators will be eventually phased
out because the _T_r_a_n_s_F_i_g package from Micah Beck is a more
general purpose translator for more graphics languages. The
_T_r_a_n_s_F_i_g package can be used as a back-end processor to xfig
to produce various types of output:
LaTeX - _f_i_g_2_d_e_v -_L _l_a_t_e_x translates _x_f_i_g to _L_a_T_e_X
picture environment commands which can be
processed along with other _L_a_T_e_X commands.
Postscript -
_f_i_g_2_d_e_v -_L _p_s produces a postscript output.
Pic - _f_i_g_2_d_e_v -_L _p_i_c produces a pic output.
PiCTeX - _f_i_g_2_d_e_v -_L _p_i_c_t_e_x produces _P_i_C_T_e_X output. This
contains macros that can be used with the _P_i_C_T_e_X
environment under _T_e_X or _L_a_T_e_X.
Others - fig2dev has options for these other languages:
_b_o_x, _e_p_i_c, _e_e_p_i_c, and _e_e_p_i_c_e_m_u.
The _T_r_a_n_s_F_i_g package is available from svax.cs.cornell.edu
Page 1 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
(directory /pub/fig) and from sun.soe.clarkson.edu
(directory /pub/transfig) via anonymous ftp. It is also
available by mail from the Clarkson archive server. To find
out about using the server, send the one-line message "help"
to archive-server@sun.soe.clarkson.edu.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----rrrriiii Change the position of the side panel window to the
right of the canvas window (default: left).
----lllleeee Change the position of the side panel window to the
left of the canvas window.
----LLLL Make _x_f_i_g come up in landscape mode (10" x 7.5"). This
is the default.
----PPPP Make _x_f_i_g come up in portrait mode (7.5" x 10").
----ppppwwww _u_n_i_t_s
Make _x_f_i_g come up _u_n_i_t_s wide (where units are either cm
or in).
----pppphhhh _u_n_i_t_s
Make _x_f_i_g come up _u_n_i_t_s high (where units are either cm
or in).
----ttttrrrr Turn on cursor (mouse) tracking arrows.
----nnnnoooo Turn off cursor (mouse) tracking arrows.
----iiiinnnncccc Make inches the unit of choice (default).
----mmmmeeee Make centimeters the unit of choice.
----iiiinnnnvvvv Use inverse video (white on black).
----ddddeeee Turn on debugging mode.
----nnnnoooorrrrmmmmaaaallll _f_o_n_t
Cause the font used for questions to be _f_o_n_t. This
font is also used on the canvas when the selected font
is not available in an X11 font.
----bbbboooolllldddd _f_o_n_t
Cause the font used for displaying messages to be _f_o_n_t.
GGGGRRRRAAAAPPPPHHHHIIIICCCCAAAALLLL OOOOBBBBJJJJEEEECCCCTTTTSSSS
The objects in _x_f_i_g are divided into pppprrrriiiimmmmiiiittttiiiivvvveeee oooobbbbjjjjeeeeccccttttssss and
ccccoooommmmppppoooouuuunnnndddd oooobbbbjjjjeeeecccctttt. The primitive objects are: _A_R_C, _C_I_R_C_L_E,
_C_L_O_S_E_D _S_P_L_I_N_E, _E_L_L_I_P_S_E, _P_O_L_Y_L_I_N_E, _P_O_L_Y_G_O_N, _S_P_L_I_N_E, and _T_E_X_T.
A primitive can be moved, rotated, flipped, copied or
erased. The TEXT primitive cannot be rotated or flipped. A
Page 2 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
compound object is composed of primitive objects. The
primitive objects that constitute a compound can not be
individually modified, but they can be manipulated as an
entity; a compound can be moved, rotated, flipped, copied or
erased. An extra function that can be applied to a compound
object is ssssccccaaaalllliiiinnnngggg, which is not available for primitive
objects.
DDDDIIIISSSSPPPPLLLLAAAAYYYY WWWWIIIINNNNDDDDOOOOWWWWSSSS
Nine windows comprise the display area of _x_f_i_g: the top
ruler, the side ruler, two panel windows, the message
window, three indicator windows showing current line
thickness, area-fill gray color and rounded box corner
radius, and the canvas window. The main panel window can be
placed to the left or right of the the canvas window
(default: left), and the second panel window is always below
the message window. It contains buttons for quick access to
some of the pop-up menu commands.
PPPPOOOOPPPP----UUUUPPPP MMMMEEEENNNNUUUU
The pop-up menu appears when the right mouse button is
pressed with the cursor positioned within the canvas window.
Positioning the cursor over the desired menu entry and
releasing the button selects a menu entry.
There are a number of file accessing functions in the pop-up
menu. Most of the time when one of these functions is
selected, the user will be asked for a file name. If the
specified file can be located and the access permission are
granted, _x_f_i_g will carry out the function. However in case
things go wrong, _x_f_i_g will abort the function and printed
the causes on the message window. Most of the functions in
the pop-up menu can be directly access with the lower button
panel.
_Q_u_i_t Exit from _x_f_i_g, discarding the figure. The user will be
asked to confirm the action, by clicking the left
button.
_U_n_d_o Undo the last object creation or modification.
_R_e_d_i_s_p_l_a_y
Redraw the canvas.
_R_e_m_o_v_e _a_l_l
Remove all objects on the canvas window (can be
undone).
_C_u_t Select object to copy into the cut/paste file. This
file is called ....xxxxffffiiiigggg in the user's $$$$HHHHOOOOMMMMEEEE directory.
This allows a user to run two or more xfig processes
and cut/paste objects between them. If there is no
Page 3 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
$$$$HHHHOOOOMMMMEEEE, a file is created in ////ttttmmmmpppp, called xxxxffffiiiigggg_P_I_D where
_P_I_D is the xfig process ID.
_P_a_s_t_e
Paste the object previously copied into the cut/paste
file into the current figure.
_E_d_i_t _f_i_l_e ...
The current contents of the canvas are cleared and the
figure is read from the specified file. The user will
be asked for a file name. This file will become the
current file.
_S_a_v_e Save the current contents of the canvas in the current
file. If no file is being edited, the user will be
asked for a file name as in the "Save in ..." function.
_R_e_a_d _f_i_l_e ...
Read figure from the specified file and merge it with
the figure already shown on the canvas. (The user will
be asked for a file name.)
_S_a_v_e _i_n ...
Save the figure on the screen into a file specified by
the user. (The user will be asked for a file name.)
If there is no current file name, it will be set to the
name specified in the save.
_S_t_a_t_u_s
Show the name of the current file and directory.
_C_h_a_n_g_e _D_i_r_e_c_t_o_r_y
Change the working directory. Any file name without a
full path name will employ the current working
directory.
_P_r_i_n_t _W_o_r_k_i_n_g _D_i_r_e_c_t_o_r_y
Show the current working directory.
_S_a_v_e & _Q_u_i_t
Save the figure in the current file and exit from _x_f_i_g.
If there is no current file, the user will be asked for
a file name. No confirmation will be asked.
_S_a_v_e _a_s _B_i_t_m_a_p
Create an X11 bitmap from the figure the size of which
is determined by the enclosing rectangle of all the
figure plus a small border.
BBBBOOOOTTTTTTTTOOOOMMMM PPPPAAAANNNNEEEELLLL CCCCOOOOMMMMMMMMAAAANNNNDDDD FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
Most of the buttons in the bottom panel are counterparts to
the pop-up menu functions. However, there are additional
Page 4 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
buttons for selecting font, font size, text line step, print
orientation (landscape or portrait) and the printer device
itself.
BBBBOOOOTTTTTTTTOOOOMMMM PPPPAAAANNNNEEEELLLL WWWWIIIINNNNDDDDOOOOWWWW CCCCOOOOMMMMMMMMAAAANNNNDDDD DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
_F_O_N_T _S_E_L_E_C_T
This button pops up a menu of 35 fonts available for
most Apple Postscript printers. The name of the font
is printed in the font itself so that one may see what
that font looks like. If a corresponding X11 font
exists, new text is created on the canvas using that
font. _x_f_i_g uses the size of X11 font closest to that
selected by the font size button. If the X11 font
doesn't exist, _x_f_i_g uses the font selected by the "-
normal" option. To abort selection of a font, click on
the title of the menu.
_F_O_N_T _S_I_Z_E
The left button decreases the point size of font used
on the canvas and printer. The right button increases
the point size.
_F_O_N_T _S_T_E_P
The left button decreases the interline spacing of text
and the right button increases the step. The number
displayed give the multiple of the font height that
will be placed between lines on hitting return.
_L_A_N_D_S_C_A_P_E/_P_O_R_T_R_A_I_T
Select landscape or portrait mode of printing. The
default setting is that of the _x_f_i_g canvas.
_P_R_I_N_T_E_R _S_E_L_E_C_T
Toggle through a list of printers available for
printing the figure. At present this list must be
compiled into _x_f_i_g.
_T_E_X_T _J_U_S_T_I_F_I_C_A_T_I_O_N
Clicking this button cycles through selection of left,
center and right justification of text.
SSSSIIIIDDDDEEEE PPPPAAAANNNNEEEELLLL WWWWIIIINNNNDDDDOOOOWWWW MMMMAAAANNNNIIIIPPPPUUUULLLLAAAATTTTIIIIOOOONNNN FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
Icons in the side panel window represent object manipulation
functions, modes and other drawing or modification aids.
Manipulation functions are selected by positioning the
cursor over it and clicking the left mouse button. The
selected icon is highlighted, and a message describing its
function appears in the message window.
The left and middle buttons are used to create and modify
objects in the canvas window. Most actions start with
clicking of the left button and end with clicking of the
Page 5 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
middle button. There is no need to hold down a button while
positioning the cursor.
SSSSIIIIDDDDEEEE PPPPAAAANNNNEEEELLLL WWWWIIIINNNNDDDDOOOOWWWW CCCCOOOOMMMMMMMMAAAANNNNDDDD DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
Entries in the side panel window can be classified into two
categories: object creation/modification/removal commands
(only one of which may be active at any one time), and
drawing aids (which act as toggle switches or settings).
There are two ways for drawing circles, two for ellipses,
two for splines and two for closed splines. There are two
basic splines. One is the interpolated spline in which the
spline pass thorough the entered points (knots). The other
is the normal spline in which on control points are passed
by the spline (except for the two end points in the open
spline).
OOOOBBBBJJJJEEEECCCCTTTT CCCCRRRREEEEAAAATTTTIIIIOOOONNNN////MMMMOOOODDDDIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN////RRRREEEEMMMMOOOOVVVVAAAALLLL
Multiple commands are grouped thematically in the following
descriptions (which is listed alphabetically).
_A_R_E_A-_F_I_L_L _O_N/_O_F_F
Turn on or off area-fill mode. This will affect any
arcs, boxes, polygons, circles, closed splines or
ellipses created subsequently.
_A_D_D/_D_E_L_E_T_E _A_R_R_O_W_S
Add or delete arrow heads for _P_O_L_Y_L_I_N_E, _P_O_L_Y_G_O_N, _S_P_L_I_N_E
or _C_L_O_S_E_D _S_P_L_I_N_E objects (points of a _B_O_X can not be
added or deleted).
_A_D_D/_D_E_L_E_T_E _P_O_I_N_T_S
Add or delete points for _P_O_L_Y_L_I_N_E, _P_O_L_Y_G_O_N, _S_P_L_I_N_E or
_C_L_O_S_E_D _S_P_L_I_N_E objects (points of a _B_O_X can not be added
or deleted).
_A_R_C Create an arc. Specify three points using the left
button.
_B_O_X Create rectangular boxes. Start with the left button
and terminate with the middle button.
_R_O_U_N_D_E_D-_C_O_R_N_E_R _B_O_X
Create rectangular boxes with rounded corners. Start
with the left button and terminate with the middle
button. The radius of the corners is selected by the
INCREASE/DECREASE RADIUS button.
_B_R_E_A_K _C_O_M_P_O_U_N_D
Break a compound object to allow manipulation of its
component parts. Click the left button on the bounding
box of the compound object.
Page 6 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
_C_H_A_N_G_E _O_B_J_E_C_T
Change settings for an existing object. Click the left
button on the object and a pop-up menu will appear
showing existing settings for the object. Some of the
menu entries may be changed by typing new values in the
appropriate windows. These allow cut and paste. Others
pop up a sub-menu of multiple choices when pressed and
held. Press the "done" button to apply the changes to
the object and finish. Press the "apply" button to
apply the changes but keep the menu up for further
changes. Press the "cancel" button to cancel the
changes and pop down the menu.
_C_I_R_C_L_E
Create circles by specifying their radii or diameters.
Click the left button on the canvas window, move the
cursor until the desired radius or diameter is reached,
then click the middle button to terminate. The circle
will be drawn after the pressing of the middle button.
_C_L_O_S_E_D _I_N_T_E_R_P_O_L_A_T_E_D _S_P_L_I_N_E
Create closed or periodic splines. The function is
similar to _P_O_L_Y_G_O_N except that a closed interpolated
spline is drawn. The spline will pass through the
points (knots).
_C_L_O_S_E_D _S_P_L_I_N_E
Create closed or periodic spline objects. The function
is similar to _P_O_L_Y_G_O_N except that a closed spline will
be drawn instead of polygon. The entered points are
just control points; i.e., the spline will not pass any
of these points.
_C_O_P_Y Copy object. Click the left button over part of the
object to be copied (for _C_I_R_C_L_E and _E_L_L_I_P_S_E objects,
position on their circumferences). Drag the object to
the desired position and click the middle button. This
function as well as the following three functions
(_M_O_V_E, _M_O_V_E _P_O_I_N_T, _R_E_M_O_V_E) will cause point markers
(manipulation aids) to be shown on the canvas window.
There are no markers for _C_I_R_C_L_E or _E_L_L_I_P_S_E objects.
_D_A_R_K_E_N/_L_I_G_H_T_E_N _A_R_E_A-_F_I_L_L _C_O_L_O_R
The left button lightens the area-fill color (black to
white through 20 gray levels). The right button
darkens it. The (approximate) current area fill color
is shown in the right-most indicator window.
_E_L_L_I_P_S_E
Create ellipses using the same procedure as for the
drawing of circles.
Page 7 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
_F_L_I_P Invert the object (middle button) or produce a mirror-
image copy of an object (left button). Point to part of
the object ("the handle"), click the appropriate
button.
_G_L_U_E Glue the objects within a bounding box into a compound
object (the bounding box itself is not part of the
figure; it is a visual aid for manipulating the
compound).
_I_N_C_R_E_A_S_E/_D_E_C_R_E_A_S_E _L_I_N_E _T_H_I_C_K_N_E_S_S
The left button decreases the line thickness by one
pixel, the right button increases it by one pixel. The
current line thickness is shown in the left-most
indicator window.
_I_N_C_R_E_A_S_E/_D_E_C_R_E_A_S_E _R_A_D_I_U_S _O_F _R_O_U_N_D_E_D _B_O_X _C_O_R_N_E_R_S
The left button decreases the radius used in the
corners of rounded boxes, the right button increases
it. The current radius is shown in the middle indicator
window.
_I_N_T_E_R_P_O_L_A_T_E_D _S_P_L_I_N_E
Create (cubic spline) spline objects. Enter control
vectors in the same way as for creation of a _P_O_L_Y_L_I_N_E
object. At least three points (two control vectors)
must be entered. The spline will pass through the
entered points.
_M_O_V_E Move objects in the same way as in _C_O_P_Y.
_M_O_V_E _P_O_I_N_T
Modify the position of points of _P_O_L_Y_L_I_N_E, _B_O_X,
_P_O_L_Y_G_O_N, _E_L_L_I_P_S_E, _A_R_C and _S_P_L_I_N_E objects. Click the
left button over the desired point, reposition the
point, and click the middle button. Note that _B_O_X,
_R_O_U_N_D_E_D-_C_O_R_N_E_R _B_O_X and _P_O_L_Y_G_O_N objects are internally
stored as _P_O_L_Y_L_I_N_E objects, and therefore moving
certain points may open these objects.
_P_O_L_Y_G_O_N
Same as _P_O_L_Y_L_I_N_E except that a line segment is drawn
connecting the first and last points entered.
_P_O_L_Y_L_I_N_E
Create polylines (line segments connecting a sequence
of points). Enter points by clicking the left button
at the desired positions on the canvas window. Click
the middle button to terminate.
_R_E_M_O_V_E
Remove (or delete) objects.
Page 8 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
_R_O_T_A_T_E
Rotate the object (middle button) or copy (left button)
+90 degrees.
_S_C_A_L_E _C_O_M_P_O_U_N_D
Only compound objects can be scaled. Click the left
button on a corner of the bounding box, stretch the
bounding box to the desired size, and click the middle
button. Or click the left button on a side of the
bounding box, stretch that side to the desired size,
and click the middle button.
_S_P_L_I_N_E
Create (quadratic spline) spline objects. Enter
control vectors in the same way as for creation of a
_P_O_L_Y_L_I_N_E object. At least three points (two control
vectors) must be entered. The spline will pass only
the two end points.
_T_E_X_T Create text strings. Click the left button at the
desired position on the canvas window, then enter text
from the keyboard. Text is drawn using the current
font, font size and justification settings. A DEL or
^H (backspace) will delete a character, while a ^U will
kill the entire line. Terminate by clicking the middle
button or typing the return key. If return is used, the
text pointer automatically moves to the next "line", a
distance of the font height times the value in the TEXT
STEP button, and text input mode is re-entered. To
terminate text fully, click the middle button or choose
any panel button that changes modes (e.g. box, save,
etc). To edit text, click on an existing text string
with the left button. Insertion of characters will
take place at that point. Or, use the popup change
object button to modify the text.
_T_U_R_N Turn _P_O_L_Y_G_O_N into a _C_L_O_S_E_D _I_N_T_E_R_P_O_L_A_T_E_D _S_P_L_I_N_E object,
or turn _P_O_L_Y_L_I_N_E into a _I_N_T_E_R_P_O_L_A_T_E_D _S_P_L_I_N_E object.
DDDDRRRRAAAAWWWWIIIINNNNGGGG AAAAIIIIDDDDSSSS
Drawing aids act as toggle switches. More than one can be
selected at a time (except for _G_R_I_D and the line drawing
modes).
_A_U_T_O _F_O_R_W_A_R_D/_B_A_C_K_W_A_R_D _A_R_R_O_W
Automatically add forward/backward arrow heads to
_P_O_L_Y_L_I_N_E, _S_P_L_I_N_E or _A_R_C objects.
_M_A_G_N_E_T
Round points to the nearest 1/16 of an inch. This
affects every function, and is provided as an alignment
aid.
Page 9 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
_U_N_R_E_S_T_R_I_C_T_E_D
Allow lines to be drawn with any slope.
_L_A_T_E_X _L_I_N_E
Allow lines to be drawn only at slopes which can be
handled by LaTeX picture environment lines: slope =
x/y, where x,y are integers in the range [-6,6].
_L_A_T_E_X _V_E_C_T_O_R
Allow lines to be drawn only at slopes which can be
handled by LaTeX picture environment vectors: slope =
x/y, where x,y are integers in the range [-4,4].
_M_A_N_H_A_T_T_A_N
Enforce drawing of lines in the horizontal and vertical
direction only. Both _M_A_N_H_A_T_T_A_N and _M_O_U_N_T_A_I_N can be
turned on simultaneously. The creations of _P_O_L_Y_G_O_N,
_P_O_L_Y_L_I_N_E and _S_P_L_I_N_E objects are affected by these two
modes.
_M_O_U_N_T_A_I_N
Enforce drawing of only diagonal lines. Both _M_A_N_H_A_T_T_A_N
and _M_O_U_N_T_A_I_N can be turned on simultaneously. The
creations of _P_O_L_Y_G_O_N, _P_O_L_Y_L_I_N_E and _S_P_L_I_N_E objects are
affected by these two modes.
_M_A_N_H_A_T_T_A_N _M_O_U_N_T_A_I_N
Allow lines to be drawn at any slope allowed when in
MOUNTAIN or MANHATTAN modes.
_G_R_I_D Display either the quarter- or half-inch grids (left
button).
_S_O_L_I_D/_D_A_S_H_E_D/_D_O_T_T_E_D _L_I_N_E _S_T_Y_L_E
Toggle between solid, dashed and dotted line styles.
The dash length is fixed at 0.05 inch.
XXXX DDDDEEEEFFFFAAAAUUUULLLLTTTTSSSS
The overall widget name(Class) is
xfig.fig(Fig.TopLevelShell). This set of resources
correspond to the command line arguments:
justify (boolean:false) -right (true) and -left (false)
arguments
landscape (boolean:true) -Landscape and -Portrait
arguments
pwidth (integer:7.5 or 10 inches) -pwidth argument
pheight (integer:10 or 7.5 inches) -pheight argument
Page 10 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
trackCursor (boolean:on) -track and -notrack arguments
inches (boolean:true) -inches and -metric arguments
reverseVideo(boolean:off) -inverse argument
debug (boolean:off) -debug argument
normalFont (string:fixed) -normal argument
boldFont (string:8x13bold) -bold argument
These arguments correspond to the widgets which make up
_x_f_i_g.
overall window form(Form)
side panel form.side_panel(Form.Box)
bottom panel form.bottom_panel(Form.Box)
buttons form.side_panel.button(Form.Box.Command)
form.bottom_panel.button(Form.Box.Command)
top ruler form.truler(Form.Label)
side ruler form.sruler(Form.Label)
canvas form.canvas(Form.Label)
message window form.message(Form.Command)
command menu form.popup_menu.menu(Form.OverrideShell.Box)
command menu title
form.popup_menu.menu.title(Form.OverrideShell.Box.Label)
command menu items
form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
font menu form.font_menu.menu(Form.OverrideShell.Box)
change menu change.form(TransientShell.Form)
indicator panel
form.indicator(Form.Box)
font indicator window
form.font_indicator(Form.Label)
For example, to set the background of the side panel to blue
and the indicator panel background to green the resources
Page 11 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
would be:
xfig*form.panel.background: blue
xfig*form.indicator.background: blue
BBBBUUUUGGGGSSSS
Creating a text object is not "Undoable".
Area fill doesn't show on the canvas for closed splines, but
are filled when printed. This has to do with the way the
splines are generated on the screen.
Undoing the creation of a compound object deletes the
objects outside the compound object. Undoing the undo
doesn't bring them back.
Undoing a move-point of a box or arc-box will corrupt the
object.
Ellipses which are too narrow are not drawn correctly.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
Brian W. Kernighan _P_I_C - _A _G_r_a_p_h_i_c_s _L_a_n_g_u_a_g_e _f_o_r _T_y_p_e_s_e_t_t_i_n_g
_U_s_e_r _M_a_n_u_a_l
f2ps(1) f2p(1)
AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTT
Many thanks goes to Professor Donald E. Fussell who inspired
the creation of this tool.
AAAAUUUUTTTTHHHHOOOORRRRSSSS
Original author:
Supoj Sutanthavibul
University of Texas at Austin
(supoj@sally.utexas.edu)
Manual page modified by:
R. P. C. Rodgers
UCSF School of Pharmacy
San Francisco, CA 94118
The LaTeX line drawing modes were contributed by:
Frank Schmuck
Cornell University
X11 port by:
Ken Yap
Rochester
(ken@cs.rochester.edu)
Variable window sizes, cleanup of X11 port, right hand side
panel under X11, X11 manual page provided by:
Dana Chee
Page 12 (printed 4/30/98)
XXXXFFFFIIIIGGGG((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((RRRReeeelllleeeeaaaasssseeee 2222....0000,,,, ppppllll9999 ((((PPPPrrrroooottttooooccccoooollll 2222....0000)))))))) XXXXFFFFIIIIGGGG((((1111))))
Bellcore
(dana@bellcore.com)
Cleanup of color port to X11 by:
John T. Kohl
MIT
(jtkohl@athena.mit.edu)
Area fill, multiple line thicknesses, multiple fonts and
font sizes, bottom panel, line style/thickness modification
of objects by:
Brian V. Smith
Lawrence Berkeley Laboratory
(standard disclaimer applies)
(bvsmith@lbl.gov)
Popup change-object menu by:
Jon Tombs (jon%robots.oxford.ac.uk@nsfnet-relay.ac.uk)
and
Frank Schmuck
(schmuck@svax.cs.cornell.edu)
Page 13 (printed 4/30/98)